package cn.st4rlight.util.page;

import org.apache.commons.lang3.StringUtils;

import cn.st4rlight.util.report.enums.SortOrderType;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @author st4rlight <st4rlight@163.com>
 * Created on 2025-09-15
 */
@Data
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = true)
public class PageSortReq extends PageRequest {

    @ApiModelProperty(value = "指标名称")
    private String sortField = StringUtils.EMPTY;

    @ApiModelProperty(value = "排序类型")
    private String sortType = SortOrderType.DESC.name();
}
